/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "工装治具",TableName = "EQU_TOOLS_FIXTURES")]
    public partial class EQU_TOOLS_FIXTURES:BaseEntity
    {
        /// <summary>
       ///Id
       /// </summary>
       [Key]
       [Display(Name ="Id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid Id { get; set; }

       /// <summary>
       ///编码
       /// </summary>
       [Display(Name ="编码")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Identifier { get; set; }

       /// <summary>
       ///名称
       /// </summary>
       [Display(Name ="名称")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ToolsFixNameZH { get; set; }

       /// <summary>
       ///供应商
       /// </summary>
       [Display(Name ="供应商")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string SupplierId { get; set; }

       /// <summary>
       ///最大维修次数
       /// </summary>
       [Display(Name ="最大维修次数")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? MaxRepairNum { get; set; }

       /// <summary>
       ///类型
       /// </summary>
       [Display(Name ="类型")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ToolsFixType { get; set; }

       /// <summary>
       ///精度
       /// </summary>
       [Display(Name ="精度")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Accuracy { get; set; }

       /// <summary>
       ///位置
       /// </summary>
       [Display(Name ="位置")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Position { get; set; }

       /// <summary>
       ///使用状态
       /// </summary>
       [Display(Name ="使用状态")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string UseState { get; set; }

       /// <summary>
       ///长
       /// </summary>
       [Display(Name ="长")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Length { get; set; }

       /// <summary>
       ///宽
       /// </summary>
       [Display(Name ="宽")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Width { get; set; }

       /// <summary>
       ///高
       /// </summary>
       [Display(Name ="高")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Height { get; set; }

       /// <summary>
       ///型号
       /// </summary>
       [Display(Name ="型号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string TollsFixModel { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Status { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string CreateBy { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateOn { get; set; }

       /// <summary>
       ///更新人
       /// </summary>
       [Display(Name ="更新人")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string UpdateBy { get; set; }

       /// <summary>
       ///更新时间
       /// </summary>
       [Display(Name ="更新时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? LastUpdateOn { get; set; }

       /// <summary>
       ///逻辑删除 0/不删除 1/已删除
       /// </summary>
       [Display(Name ="逻辑删除 0/不删除 1/已删除")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsDeleted { get; set; }

       /// <summary>
       ///描述
       /// </summary>
       [Display(Name ="描述")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Description { get; set; }

       /// <summary>
       ///RfidCode
       /// </summary>
       [Display(Name ="RfidCode")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string RfidCode { get; set; }

       
    }
}